package config

trait MyString {

  implicit class myString(str: String) {

    def isDouble: Boolean = {
      try {
        str.toDouble
      } catch {
        case _: Exception =>
          return false
      }
      true
    }

    def isInt: Boolean = {
      try {
        str.toInt
      } catch {
        case _: Exception =>
          return false
      }
      true
    }

  }




}
